import request from '@/utils/request'

export function assetweihuPut(data) {
  return request({
    url: '/standingbook/maintain',
    method: 'put',
    data
  }).then(res => {
    return res
  })
}

export function assetweihuPage(data) {
  return request({
    url: '/standingbook/maintain/page',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetweihuAdd(data) {
  return request({
    url: '/standingbook/maintain',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetweihuDel(data) {
  return request({
    url: '/standingbook/maintain',
    method: 'delete',
    data
  }).then(res => {
    console.log(res)
    return res
  })
}

export function assetsImport(data) {
  return request({
    url: '/standingbook/maintain/import',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function softList(data) {
  return request({
    url: '/soft/page',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetsExport(data) {
  return request({
    url: '/standingbook/maintain/export',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}